package uns.fit.gis.alg;

import uns.fit.gis.mapobj.Crossroads;

/*
 * CHI BAO HIEU NHUNG GIAO LO CHUA TOI
 * GIAO LO DA QUA THI BO
 */
public class CrossroadsState extends State {
	private Crossroads crossroads;
	private int crossIndex;
	
	public CrossroadsState(Crossroads crossroads, int crossIndex) {
		this.crossroads = crossroads;
		this.crossIndex = crossIndex;
	}
	public void doService() {
		System.out.println("ALERT CROSSROADS " + crossroads.getId());
		//MapDrawer.showAlert("NEAR CROSSROADS " + crossroads.getId() + " " + "Do somthing");
	}
}
